<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>cr-style: Libcroco Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Libcroco Reference Manual">
<link rel="up" href="ch01.html" title="Extensive APIs description">
<link rel="prev" href="libcroco-cr-string.html" title="cr-string">
<link rel="next" href="libcroco-cr-stylesheet.html" title="cr-stylesheet">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#libcroco-cr-style.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="libcroco-cr-string.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="libcroco-cr-stylesheet.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="libcroco-cr-style"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libcroco-cr-style.top_of_page"></a>cr-style</span></h2>
<p>cr-style</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="libcroco-cr-style.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-white-space-type-to-string" title="cr_style_white_space_type_to_string ()">cr_style_white_space_type_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-num-prop-val-to-string" title="cr_style_num_prop_val_to_string ()">cr_style_num_prop_val_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-rgb-prop-val-to-string" title="cr_style_rgb_prop_val_to_string ()">cr_style_rgb_prop_val_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-border-style-to-string" title="cr_style_border_style_to_string ()">cr_style_border_style_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-display-type-to-string" title="cr_style_display_type_to_string ()">cr_style_display_type_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-position-type-to-string" title="cr_style_position_type_to_string ()">cr_style_position_type_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-float-type-to-string" title="cr_style_float_type_to_string ()">cr_style_float_type_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="returnvalue">CRStyle</span></a> *
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-new" title="cr_style_new ()">cr_style_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-set-props-to-default-values" title="cr_style_set_props_to_default_values ()">cr_style_set_props_to_default_values</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-set-props-to-initial-values" title="cr_style_set_props_to_initial_values ()">cr_style_set_props_to_initial_values</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-resolve-inherited-properties" title="cr_style_resolve_inherited_properties ()">cr_style_resolve_inherited_properties</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-propagate-from-parent" title="cr_style_propagate_from_parent ()">cr_style_propagate_from_parent</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-set-style-from-decl" title="cr_style_set_style_from_decl ()">cr_style_set_style_from_decl</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-copy" title="cr_style_copy ()">cr_style_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-ref" title="cr_style_ref ()">cr_style_ref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-unref" title="cr_style_unref ()">cr_style_unref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-destroy" title="cr_style_destroy ()">cr_style_destroy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="returnvalue">CRStyle</span></a> *
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-dup" title="cr_style_dup ()">cr_style_dup</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-style.html#cr-style-to-string" title="cr_style_to_string ()">cr_style_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libcroco-cr-style.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libcroco-cr-style.html#BORDER-THIN:CAPS" title="BORDER_THIN">BORDER_THIN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libcroco-cr-style.html#BORDER-MEDIUM:CAPS" title="BORDER_MEDIUM">BORDER_MEDIUM</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libcroco-cr-style.html#BORDER-THICK:CAPS" title="BORDER_THICK">BORDER_THICK</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libcroco-cr-style.html#CRNumPropVal" title="struct CRNumPropVal">CRNumPropVal</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libcroco-cr-style.html#CRRgbPropVal" title="struct CRRgbPropVal">CRRgbPropVal</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libcroco-cr-style.html#CRFontSizeVal" title="struct CRFontSizeVal">CRFontSizeVal</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle">CRStyle</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libcroco-cr-style.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="libcroco-cr-style.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="cr-style-white-space-type-to-string"></a><h3>cr_style_white_space_type_to_string ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_style_white_space_type_to_string (<em class="parameter"><code><span class="type">enum CRWhiteSpaceType</span> a_code</code></em>,
                                     <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> *a_str</code></em>,
                                     <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> a_nb_indent</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-num-prop-val-to-string"></a><h3>cr_style_num_prop_val_to_string ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_style_num_prop_val_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRNumPropVal" title="struct CRNumPropVal"><span class="type">CRNumPropVal</span></a> *a_prop_val</code></em>,
                                 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> *a_str</code></em>,
                                 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> a_nb_indent</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-rgb-prop-val-to-string"></a><h3>cr_style_rgb_prop_val_to_string ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_style_rgb_prop_val_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRRgbPropVal" title="struct CRRgbPropVal"><span class="type">CRRgbPropVal</span></a> *a_prop_val</code></em>,
                                 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> *a_str</code></em>,
                                 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> a_nb_indent</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-border-style-to-string"></a><h3>cr_style_border_style_to_string ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_style_border_style_to_string (<em class="parameter"><code><span class="type">enum CRBorderStyle</span> a_prop</code></em>,
                                 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> *a_str</code></em>,
                                 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> a_nb_indent</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-display-type-to-string"></a><h3>cr_style_display_type_to_string ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_style_display_type_to_string (<em class="parameter"><code><span class="type">enum CRDisplayType</span> a_code</code></em>,
                                 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> *a_str</code></em>,
                                 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> a_nb_indent</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-position-type-to-string"></a><h3>cr_style_position_type_to_string ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_style_position_type_to_string (<em class="parameter"><code><span class="type">enum CRPositionType</span> a_code</code></em>,
                                  <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> *a_str</code></em>,
                                  <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> a_nb_indent</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-float-type-to-string"></a><h3>cr_style_float_type_to_string ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_style_float_type_to_string (<em class="parameter"><code><span class="type">enum CRFloatType</span> a_code</code></em>,
                               <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> *a_str</code></em>,
                               <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> a_nb_indent</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-new"></a><h3>cr_style_new ()</h3>
<pre class="programlisting"><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="returnvalue">CRStyle</span></a> *
cr_style_new (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_set_props_to_initial_values</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-set-props-to-default-values"></a><h3>cr_style_set_props_to_default_values ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_style_set_props_to_default_values (<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_this</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-set-props-to-initial-values"></a><h3>cr_style_set_props_to_initial_values ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_style_set_props_to_initial_values (<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_this</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-resolve-inherited-properties"></a><h3>cr_style_resolve_inherited_properties ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_style_resolve_inherited_properties (<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_this</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-propagate-from-parent"></a><h3>cr_style_propagate_from_parent ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_style_propagate_from_parent (<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_this</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-set-style-from-decl"></a><h3>cr_style_set_style_from_decl ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_style_set_style_from_decl (<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_this</code></em>,
                              <em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRDeclaration" title="struct CRDeclaration"><span class="type">CRDeclaration</span></a> *a_decl</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-copy"></a><h3>cr_style_copy ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_style_copy (<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_dest</code></em>,
               <em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_src</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-ref"></a><h3>cr_style_ref ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_style_ref (<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_this</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-unref"></a><h3>cr_style_unref ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
cr_style_unref (<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_this</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-destroy"></a><h3>cr_style_destroy ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
cr_style_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_this</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-dup"></a><h3>cr_style_dup ()</h3>
<pre class="programlisting"><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="returnvalue">CRStyle</span></a> *
cr_style_dup (<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_this</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-style-to-string"></a><h3>cr_style_to_string ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_style_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_this</code></em>,
                    <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> **a_str</code></em>,
                    <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> a_nb_indent</code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="libcroco-cr-style.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="BORDER-THIN:CAPS"></a><h3>BORDER_THIN</h3>
<pre class="programlisting">#define BORDER_THIN 2
</pre>
</div>
<hr>
<div class="refsect2">
<a name="BORDER-MEDIUM:CAPS"></a><h3>BORDER_MEDIUM</h3>
<pre class="programlisting">#define BORDER_MEDIUM 4
</pre>
</div>
<hr>
<div class="refsect2">
<a name="BORDER-THICK:CAPS"></a><h3>BORDER_THICK</h3>
<pre class="programlisting">#define BORDER_THICK 6
</pre>
</div>
<hr>
<div class="refsect2">
<a name="CRNumPropVal"></a><h3>struct CRNumPropVal</h3>
<pre class="programlisting">struct CRNumPropVal {
        /**specified value*/
        CRNum sv ;
        /**computed value*/
        CRNum cv ;
        /**actual value*/
        CRNum av ;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="CRRgbPropVal"></a><h3>struct CRRgbPropVal</h3>
<pre class="programlisting">struct CRRgbPropVal {
        /**specified value*/
        CRRgb sv ;
        /**computed value*/
        CRRgb cv ;
        /**actual value*/
        CRRgb av ;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="CRFontSizeVal"></a><h3>struct CRFontSizeVal</h3>
<pre class="programlisting">struct CRFontSizeVal {
        /*specified value*/
        CRFontSize sv ;
        /*computed value*/
        CRFontSize cv ;
        /*actual value*/
        CRFontSize av ;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="CRStyle"></a><h3>struct CRStyle</h3>
<pre class="programlisting">struct CRStyle {
        /**
         *numerical properties.
         *the properties are indexed by
         *enum #CRNumProp. 
         */
        CRNumPropVal num_props[NB_NUM_PROPS] ;

        /**
         *color properties.
         *They are indexed by enum #CRRgbProp .
         */
        CRRgbPropVal rgb_props[NB_RGB_PROPS] ;

        /**
         *border style properties.
         *They are indexed by enum #CRBorderStyleProp .
         */
        enum CRBorderStyle border_style_props[NB_BORDER_STYLE_PROPS] ;

        /**box display type*/
        enum CRDisplayType display ;

        /**the positioning scheme*/
        enum CRPositionType position ;

        /**the float property*/
        enum CRFloatType float_type ;

        /*
         *the 'font-family' property.
         */
        CRFontFamily *font_family ;

        /**
         *the 'font-size' property.
         */
        CRFontSizeVal font_size ;
        CRFontSizeAdjust *font_size_adjust ;
        enum CRFontStyle font_style ;
        enum CRFontVariant font_variant ;
        enum CRFontWeight font_weight ;
        enum CRFontStretch font_stretch ;

	/**
	 * the 'tex' properties
	 */
	enum CRWhiteSpaceType white_space;

        gboolean inherited_props_resolved ;
        CRStyle *parent_style ;
        gulong ref_count ;
};
</pre>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>